post_install() {
  update-mime-database /usr/share/mime > /dev/null
  update-desktop-database -q
  gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor
  [[ -d /usr/share/icons/Faenza ]] && gtk-update-icon-cache -q -t -f /usr/share/icons/Faenza && gtk-update-icon-cache -q -t -f /usr/share/pixmaps
}

post_upgrade() {
  post_install
}

post_remove() {
  post_install
}
